package xin.marcher.wind.migrate.order.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import xin.marcher.wind.migrate.order.dao.OrderDetailDAO;
import xin.marcher.wind.migrate.order.dao.OrderInfoDAO;

import javax.annotation.Resource;

@Slf4j
@RestController
@RequestMapping("/v1/migrate-demo")
public class MockController {

    @Resource
    private OrderInfoDAO orderInfoDAO;

    @Resource
    private OrderDetailDAO orderDetailDAO;


    @GetMapping("/mock")
    public String mock() {
        // TODO 生成数据

        return "成功";
    }

}
